﻿@model Orion.Models.NewsArticle

@{
    ViewBag.Title = "IRIS - Innranet - " + Model.Title;
    Layout = "~/Views/Shared/_WorkLayout.cshtml";
}
<section id="main_content">

<article>
         @{DateTime temp = Model.ContentDate; }
        <h1>
            <span class="right"><a title="Prenta grein" href="/NewsArticle/PrintNewsArticleById/@Model.ID"><img class="print" src="@Url.Content("~/Content/images/print.png")" /></a></span>
            @Model.Title

        </h1>
        
        <span class="right"> @temp.ToString("dd MMMM yyyy")</span>
        <div class="clear"></div>
        @Html.Raw( Model.TextBody )
        <div>@Html.ActionLink("Til baka á forsíðu", "Index", "Work")</div>
</article>
</section>

